package com.ddpt.platform.common.export.vo.activity;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 活动详情导出体
 *
 * @author : zhanggsc
 * @Data : 2023/2/27 9:30
 */
@Getter
@Setter
public class TemplateVo extends QueryDataVo {

    @Export("模板名称")
    private String name;


    @Export(value = "类型",key = {"1","2"},val = {"抽奖","特卖"})
    private Integer type;

    @Export(value = "活动子类型", key = {"11","12","13","14","15","16","17","18", "19","110","21","22","31","32","41",
            "42","43","44","45","46","47", "48","49","410","411"}, val = {"大转盘","翻牌","盲盒","砸金蛋","九宫格","老虎机",
            "开红包","刮刮乐", "摇一摇","扭蛋机","多品特卖","单品特卖","七日内签到","组队裂变","转盘抽奖裂变","转盘抽奖裂变","翻牌抽奖裂变",
            "盲盒抽奖裂变","砸金蛋抽奖裂变","九宫格抽奖裂变","老虎机抽奖裂变","开红包抽奖裂变","刮刮乐抽奖裂变","摇一摇抽奖裂变","扭蛋机抽奖裂变"})
    private Integer subType;

    @Export("模板具体配置信息")
    private String templateConfig;

    @Export("二级页面配置")
    private String subTemplateConfig;

    @Export("封面效果图url")
    private String cover;

    @Export(value = "状态",key = {"0","1"},val = {"禁用","启用"})
    private Integer status;

    @Export(value = "是否热门",key = {"0","1"},val = {"否","是"})
    private Integer isHot;

    @Export("关键词")
    private String keyWord;

    @Export("组件标识")
    private String component;

    @Export("排序号")
    private String sorted;

    @Export(value = "创建人id",isStr = true)
    private Long createUserId;

    @Export(value = "关联的标签id集合",isStr = true)
    private List<Long> labelIds;
}
